package com.smart.community.property.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 满意度评分DTO
 * @author Wu.Liang
 * @since 2025-01-30
 */
@Data
public class RatingDTO {
    
    /**
     * 满意度评分 (1-5分)
     */
    @NotNull(message = "满意度评分不能为空")
    @Min(value = 1, message = "满意度评分最小为1分")
    @Max(value = 5, message = "满意度评分最大为5分")
    private Integer satisfaction;
}
